Switch to "guint GSEAL (foo) : width;" when packing fields in guints.
authorTim Janik <timj@src.gnome.org>
Fri, 20 Jun 2008 11:09:49 +0000 (11:09 +0000)
committerTim Janik <timj@src.gnome.org>
Fri, 20 Jun 2008 11:09:49 +0000 (11:09 +0000)
* gtk/gtkbox.h:
* gtk/gtkbutton.h:
* gtk/gtkcellrenderer.h:
* gtk/gtkcellrenderertext.h:
* gtk/gtkcheckmenuitem.h:
* gtk/gtkcontainer.h:
* gtk/gtkentry.h:
* gtk/gtkhandlebox.h:
* gtk/gtkimcontextsimple.h:
* gtk/gtklabel.h:
* gtk/gtkliststore.h:
* gtk/gtkmenu.h:
* gtk/gtkmenuitem.h:
* gtk/gtkmenushell.h:
* gtk/gtknotebook.h:
* gtk/gtkpaned.h:
* gtk/gtkplug.h:
* gtk/gtkprintjob.h:
* gtk/gtkprogressbar.h:
* gtk/gtkrange.h:
* gtk/gtkscale.h:
* gtk/gtkscrolledwindow.h:
* gtk/gtksizegroup.h:
* gtk/gtksocket.h:
* gtk/gtkspinbutton.h:
* gtk/gtkstatusbar.h:
* gtk/gtktable.h:
* gtk/gtktearoffmenuitem.h:
* gtk/gtktextbuffer.h:
* gtk/gtktextview.h:
* gtk/gtktogglebutton.h:
* gtk/gtktoolbar.h:
* gtk/gtktreestore.h:
* gtk/gtktreeviewcolumn.h:
* gtk/gtkwindow.h: Do not specify width inside GSEAL() when packing fields in guints.

svn path=/trunk/; revision=20621

35 files changed:
gtk/gtkbox.h
gtk/gtkbutton.h
gtk/gtkcellrenderer.h
gtk/gtkcellrenderertext.h
gtk/gtkcheckmenuitem.h
gtk/gtkcontainer.h
gtk/gtkentry.h
gtk/gtkhandlebox.h
gtk/gtkimcontextsimple.h
gtk/gtklabel.h
gtk/gtkliststore.h
gtk/gtkmenu.h
gtk/gtkmenuitem.h
gtk/gtkmenushell.h
gtk/gtknotebook.h
gtk/gtkpaned.h
gtk/gtkplug.h
gtk/gtkprintjob.h
gtk/gtkprogressbar.h
gtk/gtkrange.h
gtk/gtkscale.h
gtk/gtkscrolledwindow.h
gtk/gtksizegroup.h
gtk/gtksocket.h
gtk/gtkspinbutton.h
gtk/gtkstatusbar.h
gtk/gtktable.h
gtk/gtktearoffmenuitem.h
gtk/gtktextbuffer.h
gtk/gtktextview.h
gtk/gtktogglebutton.h
gtk/gtktoolbar.h
gtk/gtktreestore.h
gtk/gtktreeviewcolumn.h
gtk/gtkwindow.h

index 3110fa3a05edb827e29ed026d47d9c26508e817e..28d42a3e374c3d7cdda3e2942e0b5944487382bf 100644 (file)
@@ -58,7 +58,7 @@ struct _GtkBox
   /*< public >*/
   GList *GSEAL (children);
   gint16 GSEAL (spacing);
-  guint GSEAL (homogeneous : 1);
+  guint GSEAL (homogeneous) : 1;
 };
 
 struct _GtkBoxClass
index 6264a071f51516000243c375bebd7f42289e026d..a8c1e8e4ee0af28bc9f20488d324f08762f78cea 100644 (file)
@@ -60,15 +60,15 @@ struct _GtkButton
 
   guint GSEAL (activate_timeout);
 
-  guint GSEAL (constructed : 1);
-  guint GSEAL (in_button : 1);
-  guint GSEAL (button_down : 1);
-  guint GSEAL (relief : 2);
-  guint GSEAL (use_underline : 1);
-  guint GSEAL (use_stock : 1);
-  guint GSEAL (depressed : 1);
-  guint GSEAL (depress_on_activate : 1);
-  guint GSEAL (focus_on_click : 1);
+  guint GSEAL (constructed) : 1;
+  guint GSEAL (in_button) : 1;
+  guint GSEAL (button_down) : 1;
+  guint GSEAL (relief) : 2;
+  guint GSEAL (use_underline) : 1;
+  guint GSEAL (use_stock) : 1;
+  guint GSEAL (depressed) : 1;
+  guint GSEAL (depress_on_activate) : 1;
+  guint GSEAL (focus_on_click) : 1;
 };
 
 struct _GtkButtonClass
index bcb021031b513230200866de0002c7d60c461f03..25e8571103a81a18915de2c53d32b913d1df16e2 100644 (file)
@@ -70,13 +70,13 @@ struct _GtkCellRenderer
   guint16 GSEAL (xpad);
   guint16 GSEAL (ypad);
 
-  guint GSEAL (mode : 2);
-  guint GSEAL (visible : 1);
-  guint GSEAL (is_expander : 1);
-  guint GSEAL (is_expanded : 1);
-  guint GSEAL (cell_background_set : 1);
-  guint GSEAL (sensitive : 1);
-  guint GSEAL (editing : 1);
+  guint GSEAL (mode) : 2;
+  guint GSEAL (visible) : 1;
+  guint GSEAL (is_expander) : 1;
+  guint GSEAL (is_expanded) : 1;
+  guint GSEAL (cell_background_set) : 1;
+  guint GSEAL (sensitive) : 1;
+  guint GSEAL (editing) : 1;
 };
 
 struct _GtkCellRendererClass
index 0d3755247097780ceff1ca80b01333333a6eeb45..2875b272cb7b96ae09cd679f1ec3fc48018f5b08 100644 (file)
@@ -59,23 +59,23 @@ struct _GtkCellRendererText
   gint GSEAL (rise);
   gint GSEAL (fixed_height_rows);
 
-  guint GSEAL (strikethrough : 1);
+  guint GSEAL (strikethrough) : 1;
 
-  guint GSEAL (editable  : 1);
+  guint GSEAL (editable)  : 1;
 
-  guint GSEAL (scale_set : 1);
+  guint GSEAL (scale_set) : 1;
 
-  guint GSEAL (foreground_set : 1);
-  guint GSEAL (background_set : 1);
+  guint GSEAL (foreground_set) : 1;
+  guint GSEAL (background_set) : 1;
 
-  guint GSEAL (underline_set : 1);
+  guint GSEAL (underline_set) : 1;
 
-  guint GSEAL (rise_set : 1);
+  guint GSEAL (rise_set) : 1;
 
-  guint GSEAL (strikethrough_set : 1);
+  guint GSEAL (strikethrough_set) : 1;
 
-  guint GSEAL (editable_set : 1);
-  guint GSEAL (calc_fixed_height : 1);
+  guint GSEAL (editable_set) : 1;
+  guint GSEAL (calc_fixed_height) : 1;
 };
 
 struct _GtkCellRendererTextClass
index bb5509c5e041fb2592d684830d449b436c5c8dcd..0098b79b61ee20148830a17f29251686bf6e71f4 100644 (file)
@@ -53,10 +53,10 @@ struct _GtkCheckMenuItem
 {
   GtkMenuItem menu_item;
 
-  guint GSEAL (active : 1);
-  guint GSEAL (always_show_toggle : 1);
-  guint GSEAL (inconsistent : 1);
-  guint GSEAL (draw_as_radio : 1);
+  guint GSEAL (active) : 1;
+  guint GSEAL (always_show_toggle) : 1;
+  guint GSEAL (inconsistent) : 1;
+  guint GSEAL (draw_as_radio) : 1;
 };
 
 struct _GtkCheckMenuItemClass
index e7c2ff38bc01f3ee3c515bfb6a70bb9cc8def706..f56dbe89b2ca746fb18b438e8a81c029589bd8c9 100644 (file)
@@ -59,13 +59,13 @@ struct _GtkContainer
 
   GtkWidget *GSEAL (focus_child);
 
-  guint GSEAL (border_width : 16);
+  guint GSEAL (border_width) : 16;
 
   /*< private >*/
-  guint GSEAL (need_resize : 1);
-  guint GSEAL (resize_mode : 2);
-  guint GSEAL (reallocate_redraws : 1);
-  guint GSEAL (has_focus_chain : 1);
+  guint GSEAL (need_resize) : 1;
+  guint GSEAL (resize_mode) : 2;
+  guint GSEAL (reallocate_redraws) : 1;
+  guint GSEAL (has_focus_chain) : 1;
 };
 
 struct _GtkContainerClass
index 651658c4f7219af830bd7c4f97e487f315963975..2019b1eee616f3129a8d3cf1bff66270d688eeee 100644 (file)
@@ -58,10 +58,10 @@ struct _GtkEntry
 
   gchar       *GSEAL (text);
 
-  guint        GSEAL (editable : 1);
-  guint        GSEAL (visible  : 1);
-  guint        GSEAL (overwrite_mode : 1);
-  guint        GSEAL (in_drag : 1);                /* FIXME: Should be private?
+  guint        GSEAL (editable) : 1;
+  guint        GSEAL (visible)  : 1;
+  guint        GSEAL (overwrite_mode) : 1;
+  guint        GSEAL (in_drag) : 1;                /* FIXME: Should be private?
                                                        Dragging within the selection */
 
   guint16      GSEAL (text_length);                /* length in use, in chars */
@@ -77,19 +77,19 @@ struct _GtkEntry
 
   PangoLayout  *GSEAL (cached_layout);
 
-  guint         GSEAL (cache_includes_preedit : 1);
-  guint         GSEAL (need_im_reset          : 1);
-  guint         GSEAL (has_frame              : 1);
-  guint         GSEAL (activates_default      : 1);
-  guint         GSEAL (cursor_visible         : 1);
-  guint         GSEAL (in_click               : 1); /* Flag so we don't select all when clicking in entry to focus in */
-  guint         GSEAL (is_cell_renderer       : 1);
-  guint         GSEAL (editing_canceled       : 1); /* Only used by GtkCellRendererText */ 
-  guint         GSEAL (mouse_cursor_obscured  : 1);
-  guint         GSEAL (select_words           : 1);
-  guint         GSEAL (select_lines           : 1);
-  guint         GSEAL (resolved_dir           : 4); /* PangoDirection */
-  guint         GSEAL (truncate_multiline     : 1);
+  guint         GSEAL (cache_includes_preedit) : 1;
+  guint         GSEAL (need_im_reset)          : 1;
+  guint         GSEAL (has_frame)              : 1;
+  guint         GSEAL (activates_default)      : 1;
+  guint         GSEAL (cursor_visible)         : 1;
+  guint         GSEAL (in_click)               : 1; /* Flag so we don't select all when clicking in entry to focus in */
+  guint         GSEAL (is_cell_renderer)       : 1;
+  guint         GSEAL (editing_canceled)       : 1; /* Only used by GtkCellRendererText */ 
+  guint         GSEAL (mouse_cursor_obscured)  : 1;
+  guint         GSEAL (select_words)           : 1;
+  guint         GSEAL (select_lines)           : 1;
+  guint         GSEAL (resolved_dir)           : 4; /* PangoDirection */
+  guint         GSEAL (truncate_multiline)     : 1;
 
   guint         GSEAL (button);
   guint         GSEAL (blink_timeout);
index 9292466c762bc5930249646637a1e53e132e8426..1799737e63978d81ab3f0ecbe8a61c4ceba6bc23 100644 (file)
@@ -61,11 +61,11 @@ struct _GtkHandleBox
   GdkWindow      *GSEAL (bin_window);  /* parent window for children */
   GdkWindow      *GSEAL (float_window);
   GtkShadowType   GSEAL (shadow_type);
-  guint                  GSEAL (handle_position : 2);
-  guint                  GSEAL (float_window_mapped : 1);
-  guint                  GSEAL (child_detached : 1);
-  guint                  GSEAL (in_drag : 1);
-  guint                  GSEAL (shrink_on_detach : 1);
+  guint                  GSEAL (handle_position) : 2;
+  guint                  GSEAL (float_window_mapped) : 1;
+  guint                  GSEAL (child_detached) : 1;
+  guint                  GSEAL (in_drag) : 1;
+  guint                  GSEAL (shrink_on_detach) : 1;
 
   signed int      GSEAL (snap_edge : 3); /* -1 == unset */
   
index eb26e693ff3f1d8530a765342b2f19783bf214ee..2c44db25a37facf9080784517ffb9088e1e29102 100644 (file)
@@ -53,8 +53,8 @@ struct _GtkIMContextSimple
   gunichar GSEAL (tentative_match);
   gint GSEAL (tentative_match_len);
 
-  guint GSEAL (in_hex_sequence : 1);
-  guint GSEAL (modifiers_dropped : 1);
+  guint GSEAL (in_hex_sequence) : 1;
+  guint GSEAL (modifiers_dropped) : 1;
 };
 
 struct _GtkIMContextSimpleClass
index 5333dc7543a6b26d8af9e93614e22bdac039256f..27e300dad948f512b6e1c315f27a47a2786a67e5 100644 (file)
@@ -57,16 +57,16 @@ struct _GtkLabel
 
   /*< private >*/
   gchar  *GSEAL (label);
-  guint   GSEAL (jtype            : 2);
-  guint   GSEAL (wrap             : 1);
-  guint   GSEAL (use_underline    : 1);
-  guint   GSEAL (use_markup       : 1);
-  guint   GSEAL (ellipsize        : 3);
-  guint   GSEAL (single_line_mode : 1);
-  guint   GSEAL (have_transform   : 1);
-  guint   GSEAL (in_click         : 1);
-  guint   GSEAL (wrap_mode        : 3);
-  guint   GSEAL (pattern_set      : 1);
+  guint   GSEAL (jtype)            : 2;
+  guint   GSEAL (wrap)             : 1;
+  guint   GSEAL (use_underline)    : 1;
+  guint   GSEAL (use_markup)       : 1;
+  guint   GSEAL (ellipsize)        : 3;
+  guint   GSEAL (single_line_mode) : 1;
+  guint   GSEAL (have_transform)   : 1;
+  guint   GSEAL (in_click)         : 1;
+  guint   GSEAL (wrap_mode)        : 3;
+  guint   GSEAL (pattern_set)      : 1;
 
   guint   GSEAL (mnemonic_keyval);
 
index af19c4554426da254712aa47e3b8984f29716183..0d893b8484a5480d4b845becbeb087dceeeafc8d 100644 (file)
@@ -59,7 +59,7 @@ struct _GtkListStore
   GtkTreeIterCompareFunc GSEAL (default_sort_func);
   gpointer GSEAL (default_sort_data);
   GtkDestroyNotify GSEAL (default_sort_destroy);
-  guint GSEAL (columns_dirty : 1);
+  guint GSEAL (columns_dirty) : 1;
 };
 
 struct _GtkListStoreClass
index 9271451a7eec0a959b25959a30591319ef43e76a..3521e5ded3079f0ea482f38a9eb06f5bb2e07ec8 100644 (file)
@@ -96,19 +96,19 @@ struct _GtkMenu
   GdkRegion *GSEAL (navigation_region);
   guint GSEAL (navigation_timeout);
 
-  guint GSEAL (needs_destruction_ref_count : 1);
-  guint GSEAL (torn_off : 1);
+  guint GSEAL (needs_destruction_ref_count) : 1;
+  guint GSEAL (torn_off) : 1;
   /* The tearoff is active when it is torn off and the not-torn-off
    * menu is not popped up.
    */
-  guint GSEAL (tearoff_active : 1);
+  guint GSEAL (tearoff_active) : 1;
 
-  guint GSEAL (scroll_fast : 1);
+  guint GSEAL (scroll_fast) : 1;
 
-  guint GSEAL (upper_arrow_visible : 1);
-  guint GSEAL (lower_arrow_visible : 1);
-  guint GSEAL (upper_arrow_prelight : 1);
-  guint GSEAL (lower_arrow_prelight : 1);
+  guint GSEAL (upper_arrow_visible) : 1;
+  guint GSEAL (lower_arrow_visible) : 1;
+  guint GSEAL (upper_arrow_prelight) : 1;
+  guint GSEAL (lower_arrow_prelight) : 1;
 };
 
 struct _GtkMenuClass
index 2ea41712c6c0f8f3638562793a8fa2be7c2c9634..8bd3c7f9e73255761b1ff6c9751a37ef779cd59d 100644 (file)
@@ -60,12 +60,12 @@ struct _GtkMenuItem
   guint16 GSEAL (accelerator_width);
   gchar  *GSEAL (accel_path);
 
-  guint GSEAL (show_submenu_indicator : 1);
-  guint GSEAL (submenu_placement : 1);
-  guint GSEAL (submenu_direction : 1);
-  guint GSEAL (right_justify: 1);
-  guint GSEAL (timer_from_keypress : 1);
-  guint GSEAL (from_menubar : 1);
+  guint GSEAL (show_submenu_indicator) : 1;
+  guint GSEAL (submenu_placement) : 1;
+  guint GSEAL (submenu_direction) : 1;
+  guint GSEAL (right_justify): 1;
+  guint GSEAL (timer_from_keypress) : 1;
+  guint GSEAL (from_menubar) : 1;
   guint GSEAL (timer);
 };
 
index 94ddbde3403abddf8f80c9f4a7ba589a21cfca08..ffb294fe62ff779cd305e4e2dffe066503d51f4b 100644 (file)
@@ -60,12 +60,12 @@ struct _GtkMenuShell
   guint GSEAL (button);
   guint32 GSEAL (activate_time);
 
-  guint GSEAL (active : 1);
-  guint GSEAL (have_grab : 1);
-  guint GSEAL (have_xgrab : 1);
+  guint GSEAL (active) : 1;
+  guint GSEAL (have_grab) : 1;
+  guint GSEAL (have_xgrab) : 1;
   guint GSEAL (unused1);
   guint GSEAL (unused2);
-  guint GSEAL (ignore_enter : 1);
+  guint GSEAL (ignore_enter) : 1;
 };
 
 struct _GtkMenuShellClass
index c1f28efad056657b54826df4ab58ad37e165e882..3e4ea32cc6563a49700cbdcb8c302d23eef04bcc 100644 (file)
@@ -73,23 +73,23 @@ struct _GtkNotebook
   guint16 GSEAL (tab_hborder);
   guint16 GSEAL (tab_vborder);
   
-  guint GSEAL (show_tabs          : 1);
-  guint GSEAL (homogeneous        : 1);
-  guint GSEAL (show_border        : 1);
-  guint GSEAL (tab_pos            : 2);
-  guint GSEAL (scrollable         : 1);
-  guint GSEAL (in_child           : 3);
-  guint GSEAL (click_child        : 3);
-  guint GSEAL (button             : 2);
-  guint GSEAL (need_timer         : 1);
-  guint GSEAL (child_has_focus    : 1);
-  guint GSEAL (have_visible_child : 1);
-  guint GSEAL (focus_out          : 1);        /* Flag used by ::move-focus-out implementation */
-
-  guint GSEAL (has_before_previous : 1);
-  guint GSEAL (has_before_next     : 1);
-  guint GSEAL (has_after_previous  : 1);
-  guint GSEAL (has_after_next      : 1);
+  guint GSEAL (show_tabs)          : 1;
+  guint GSEAL (homogeneous)        : 1;
+  guint GSEAL (show_border)        : 1;
+  guint GSEAL (tab_pos)            : 2;
+  guint GSEAL (scrollable)         : 1;
+  guint GSEAL (in_child)           : 3;
+  guint GSEAL (click_child)        : 3;
+  guint GSEAL (button)             : 2;
+  guint GSEAL (need_timer)         : 1;
+  guint GSEAL (child_has_focus)    : 1;
+  guint GSEAL (have_visible_child) : 1;
+  guint GSEAL (focus_out)          : 1;        /* Flag used by ::move-focus-out implementation */
+
+  guint GSEAL (has_before_previous) : 1;
+  guint GSEAL (has_before_next)     : 1;
+  guint GSEAL (has_after_previous)  : 1;
+  guint GSEAL (has_after_next)      : 1;
 };
 
 struct _GtkNotebookClass
index 2a50001553fe9ea12bcfae5e583e82a1732fcb2e..f81610598690d298547dba5494e7536e8a953917 100644 (file)
@@ -67,15 +67,15 @@ struct _GtkPaned
   gint GSEAL (min_position);
   gint GSEAL (max_position);
 
-  guint GSEAL (position_set : 1);
-  guint GSEAL (in_drag : 1);
-  guint GSEAL (child1_shrink : 1);
-  guint GSEAL (child1_resize : 1);
-  guint GSEAL (child2_shrink : 1);
-  guint GSEAL (child2_resize : 1);
-  guint GSEAL (orientation : 1);
-  guint GSEAL (in_recursion : 1);
-  guint GSEAL (handle_prelit : 1);
+  guint GSEAL (position_set) : 1;
+  guint GSEAL (in_drag) : 1;
+  guint GSEAL (child1_shrink) : 1;
+  guint GSEAL (child1_resize) : 1;
+  guint GSEAL (child2_shrink) : 1;
+  guint GSEAL (child2_resize) : 1;
+  guint GSEAL (orientation) : 1;
+  guint GSEAL (in_recursion) : 1;
+  guint GSEAL (handle_prelit) : 1;
 
   GtkWidget *GSEAL (last_child1_focus);
   GtkWidget *GSEAL (last_child2_focus);
index 208e3a779953dd349f26d8c28d62b4e55a68884c..e09fd92f7179b6e2a6b7373923be0e98e2582ba1 100644 (file)
@@ -59,7 +59,7 @@ struct _GtkPlug
   GtkWindowGroup *GSEAL (modality_group);
   GHashTable *GSEAL (grabbed_keys);
 
-  guint GSEAL (same_app : 1);
+  guint GSEAL (same_app) : 1;
 };
 
 struct _GtkPlugClass
index 0bd4c404e76dbcf35fec727c60ac3b0e64dcf527..71ddfdc5ab4800fba54f723884abe8803ee6bc69 100644 (file)
@@ -63,9 +63,9 @@ struct _GtkPrintJob
   GtkPageSet GSEAL (page_set);
   gint GSEAL (num_copies);
   gdouble GSEAL (scale);
-  guint GSEAL (rotate_to_orientation : 1);
-  guint GSEAL (collate               : 1);
-  guint GSEAL (reverse               : 1);
+  guint GSEAL (rotate_to_orientation) : 1;
+  guint GSEAL (collate)               : 1;
+  guint GSEAL (reverse)               : 1;
 };
 
 struct _GtkPrintJobClass
index d8ee3b0ec52d52e233e38857eaa03d1749ab26ca..f4a5aeda40095575ed76439c30d955deca3f4c1b 100644 (file)
@@ -79,9 +79,9 @@ struct _GtkProgressBar
 
   gdouble GSEAL(pulse_fraction);
   
-  guint GSEAL(activity_dir : 1);
-  guint GSEAL(ellipsize : 3);
-  guint GSEAL(dirty : 1);
+  guint GSEAL (activity_dir) : 1;
+  guint GSEAL (ellipsize) : 3;
+  guint GSEAL (dirty) : 1;
 };
 
 struct _GtkProgressBarClass
index 68deba06ce9355d5215c9611988cfcc42611fc69..b3c497d4c3b76bfcf7315a781b54ce8abe20bc73 100644 (file)
@@ -60,24 +60,24 @@ struct _GtkRange
 
   GtkAdjustment *GSEAL (adjustment);
   GtkUpdateType GSEAL (update_policy);
-  guint GSEAL (inverted : 1);
+  guint GSEAL (inverted) : 1;
 
   /*< protected >*/
 
-  guint GSEAL (flippable : 1);
+  guint GSEAL (flippable) : 1;
 
   /* Steppers are: < > ---- < >
    *               a b      c d
    */
 
-  guint GSEAL (has_stepper_a : 1);
-  guint GSEAL (has_stepper_b : 1);
-  guint GSEAL (has_stepper_c : 1);
-  guint GSEAL (has_stepper_d : 1);
+  guint GSEAL (has_stepper_a) : 1;
+  guint GSEAL (has_stepper_b) : 1;
+  guint GSEAL (has_stepper_c) : 1;
+  guint GSEAL (has_stepper_d) : 1;
 
-  guint GSEAL (need_recalc : 1);
+  guint GSEAL (need_recalc) : 1;
 
-  guint GSEAL (slider_size_fixed : 1);
+  guint GSEAL (slider_size_fixed) : 1;
 
   gint GSEAL (min_slider_size);
 
@@ -92,8 +92,8 @@ struct _GtkRange
   gint GSEAL (round_digits);
 
   /*< private >*/
-  guint GSEAL (trough_click_forward : 1);  /* trough click was on the forward side of slider */
-  guint GSEAL (update_pending : 1);        /* need to emit value_changed */
+  guint GSEAL (trough_click_forward) : 1;  /* trough click was on the forward side of slider */
+  guint GSEAL (update_pending) : 1;        /* need to emit value_changed */
   GtkRangeLayout *GSEAL (layout);
   GtkRangeStepTimer *GSEAL (timer);
   gint GSEAL (slide_initial_slider_position);
index 16b34267f7cb67edc7b32cf4d0ae60dced7cc348..b83b699e1836a6a4852a48141fb962eb4e458ee9 100644 (file)
@@ -54,8 +54,8 @@ struct _GtkScale
   GtkRange range;
 
   gint GSEAL(digits);
-  guint GSEAL(draw_value : 1);
-  guint GSEAL(value_pos : 2);
+  guint GSEAL (draw_value) : 1;
+  guint GSEAL (value_pos) : 2;
 };
 
 struct _GtkScaleClass
index 57bd61e12e08a7b4380a21c75d4b2414764e211c..b36071ca95d6e8ff6ce8f374d1ee81adab088991 100644 (file)
@@ -62,12 +62,12 @@ struct _GtkScrolledWindow
   GtkWidget *GSEAL (vscrollbar);
 
   /*< private >*/
-  guint GSEAL (hscrollbar_policy      : 2);
-  guint GSEAL (vscrollbar_policy      : 2);
-  guint GSEAL (hscrollbar_visible     : 1);
-  guint GSEAL (vscrollbar_visible     : 1);
-  guint GSEAL (window_placement       : 2);
-  guint GSEAL (focus_out              : 1);    /* Flag used by ::move-focus-out implementation */
+  guint GSEAL (hscrollbar_policy)      : 2;
+  guint GSEAL (vscrollbar_policy)      : 2;
+  guint GSEAL (hscrollbar_visible)     : 1;
+  guint GSEAL (vscrollbar_visible)     : 1;
+  guint GSEAL (window_placement)       : 2;
+  guint GSEAL (focus_out)              : 1;    /* Flag used by ::move-focus-out implementation */
 
   guint16 GSEAL (shadow_type);
 };
index c2cb8895379951af17dbaf30c3563660737e7d14..ecd2ceacf6d60318abe70e68cc6e319a54e4dced 100644 (file)
@@ -49,9 +49,9 @@ struct _GtkSizeGroup
 
   guint8 GSEAL (mode);
 
-  guint GSEAL (have_width : 1);
-  guint GSEAL (have_height : 1);
-  guint GSEAL (ignore_hidden : 1);
+  guint GSEAL (have_width) : 1;
+  guint GSEAL (have_height) : 1;
+  guint GSEAL (ignore_hidden) : 1;
 
   GtkRequisition GSEAL (requisition);
 };
index ecb7cd60833d48b4b1b1b04c07d0abe9b05e720b..db347c06f0c7b192647f74be39517f9916bac436 100644 (file)
@@ -58,12 +58,12 @@ struct _GtkSocket
   GtkWidget *GSEAL (plug_widget);
 
   gshort GSEAL (xembed_version); /* -1 == not xembed */
-  guint GSEAL (same_app : 1);
-  guint GSEAL (focus_in : 1);
-  guint GSEAL (have_size : 1);
-  guint GSEAL (need_map : 1);
-  guint GSEAL (is_mapped : 1);
-  guint GSEAL (active : 1);
+  guint GSEAL (same_app) : 1;
+  guint GSEAL (focus_in) : 1;
+  guint GSEAL (have_size) : 1;
+  guint GSEAL (need_map) : 1;
+  guint GSEAL (is_mapped) : 1;
+  guint GSEAL (active) : 1;
 
   GtkAccelGroup *GSEAL (accel_group);
   GtkWidget *GSEAL (toplevel);
index bcb855f97df88fd4787e65197fe9bbe323bd1e20..b513f9ae78bbf25151d3a4082f9ada974a408808 100644 (file)
@@ -88,15 +88,15 @@ struct _GtkSpinButton
 
   GtkSpinButtonUpdatePolicy GSEAL (update_policy);
 
-  guint GSEAL (in_child : 2);
-  guint GSEAL (click_child : 2); /* valid: GTK_ARROW_UP=0, GTK_ARROW_DOWN=1 or 2=NONE/BOTH */
-  guint GSEAL (button : 2);
-  guint GSEAL (need_timer : 1);
-  guint GSEAL (timer_calls : 3);
-  guint GSEAL (digits : 10);
-  guint GSEAL (numeric : 1);
-  guint GSEAL (wrap : 1);
-  guint GSEAL (snap_to_ticks : 1);
+  guint GSEAL (in_child) : 2;
+  guint GSEAL (click_child) : 2; /* valid: GTK_ARROW_UP=0, GTK_ARROW_DOWN=1 or 2=NONE/BOTH */
+  guint GSEAL (button) : 2;
+  guint GSEAL (need_timer) : 1;
+  guint GSEAL (timer_calls) : 3;
+  guint GSEAL (digits) : 10;
+  guint GSEAL (numeric) : 1;
+  guint GSEAL (wrap) : 1;
+  guint GSEAL (snap_to_ticks) : 1;
 };
 
 struct _GtkSpinButtonClass
index 841e90d32c8eb8f1ffbea5987d6a3e3238ec8f3d..3ca102b6c819ba5b6b60f453f7909c86d6c38be8 100644 (file)
@@ -62,7 +62,7 @@ struct _GtkStatusbar
 
   GdkWindow *GSEAL (grip_window);
 
-  guint GSEAL (has_resize_grip : 1);
+  guint GSEAL (has_resize_grip) : 1;
 };
 
 struct _GtkStatusbarClass
index 85dc0bac4eed48f463d0edc07a1872867b0b0c33..39fe9b9967270da6e8856b1e92842d6ebcd7d826 100644 (file)
@@ -62,7 +62,7 @@ struct _GtkTable
   guint16 GSEAL (ncols);
   guint16 GSEAL (column_spacing);
   guint16 GSEAL (row_spacing);
-  guint GSEAL (homogeneous : 1);
+  guint GSEAL (homogeneous) : 1;
 };
 
 struct _GtkTableClass
index 7d1e88c027a04c5370cc0b1d90ea8406c703694d..2a5b7fed10744dcaf8539670d00fcafaa468c0fe 100644 (file)
@@ -52,7 +52,7 @@ struct _GtkTearoffMenuItem
 {
   GtkMenuItem menu_item;
 
-  guint GSEAL (torn_off : 1);
+  guint GSEAL (torn_off) : 1;
 };
 
 struct _GtkTearoffMenuItemClass
index c84c3b6c77ecd2c78274da08f0a23ba8dd9c120d..fd1131410a6dba52a541d5a714072189831cefe5 100644 (file)
@@ -86,9 +86,9 @@ struct _GtkTextBuffer
   guint GSEAL (user_action_count);
 
   /* Whether the buffer has been modified since last save */
-  guint GSEAL (modified : 1);
+  guint GSEAL (modified) : 1;
 
-  guint GSEAL (has_selection : 1);
+  guint GSEAL (has_selection) : 1;
 };
 
 struct _GtkTextBufferClass
index b20cfee11ec8aea6c1ae96786b3bd5f75a18f8c1..2dfe23ff428c5acf016dba1e77b2272b23184ae9 100644 (file)
@@ -85,24 +85,24 @@ struct _GtkTextView
   gint GSEAL (right_margin);
   gint GSEAL (indent);
   PangoTabArray *GSEAL (tabs);
-  guint GSEAL (editable : 1);
+  guint GSEAL (editable) : 1;
 
-  guint GSEAL (overwrite_mode : 1);
-  guint GSEAL (cursor_visible : 1);
+  guint GSEAL (overwrite_mode) : 1;
+  guint GSEAL (cursor_visible) : 1;
 
   /* if we have reset the IM since the last character entered */  
-  guint GSEAL (need_im_reset : 1);
+  guint GSEAL (need_im_reset) : 1;
 
-  guint GSEAL (accepts_tab : 1);
+  guint GSEAL (accepts_tab) : 1;
 
-  guint GSEAL (width_changed : 1);
+  guint GSEAL (width_changed) : 1;
 
   /* debug flag - means that we've validated onscreen since the
    * last "invalidate" signal from the layout
    */
-  guint GSEAL (onscreen_validated : 1);
+  guint GSEAL (onscreen_validated) : 1;
 
-  guint GSEAL (mouse_cursor_obscured : 1);
+  guint GSEAL (mouse_cursor_obscured) : 1;
 
   GtkTextWindow *GSEAL (text_window);
   GtkTextWindow *GSEAL (left_window);
index f9ca07e41b7523d1e533b12cbc1819b93efe0d55..009688a7b246eb2aeba06491a68324150280075e 100644 (file)
@@ -52,9 +52,9 @@ struct _GtkToggleButton
 {
   GtkButton button;
 
-  guint GSEAL (active : 1);
-  guint GSEAL (draw_indicator : 1);
-  guint GSEAL (inconsistent : 1);
+  guint GSEAL (active) : 1;
+  guint GSEAL (draw_indicator) : 1;
+  guint GSEAL (inconsistent) : 1;
 };
 
 struct _GtkToggleButtonClass
index 45788b76ca1fe601335b24dca4c637dfbbd18cba..818969756f7fe83771a8e1642343069d2bb15fc3 100644 (file)
@@ -115,8 +115,8 @@ struct _GtkToolbar
   guint            _gtk_reserved1;
   guint            _gtk_reserved2;
 
-  guint            GSEAL (style_set : 1);
-  guint            GSEAL (icon_size_set : 1);
+  guint            GSEAL (style_set) : 1;
+  guint            GSEAL (icon_size_set) : 1;
 };
 
 struct _GtkToolbarClass
index 8fdb720544d26c6393b71424362a430dba467668..d14de83e9f4b47aa0a2ad6cfb6d0bf07e483de20 100644 (file)
@@ -58,7 +58,7 @@ struct _GtkTreeStore
   GtkTreeIterCompareFunc GSEAL (default_sort_func);
   gpointer GSEAL (default_sort_data);
   GtkDestroyNotify GSEAL (default_sort_destroy);
-  guint GSEAL (columns_dirty : 1);
+  guint GSEAL (columns_dirty) : 1;
 };
 
 struct _GtkTreeStoreClass
index b8688015808a0738b48b6b3f186178fa2414f8aa..9552b277f99fe54bb1b0c92fa4c2a0e645247062 100644 (file)
@@ -100,15 +100,15 @@ struct _GtkTreeViewColumn
   GtkSortType GSEAL (sort_order);
 
   /* Flags */
-  guint GSEAL (visible             : 1);
-  guint GSEAL (resizable           : 1);
-  guint GSEAL (clickable           : 1);
-  guint GSEAL (dirty               : 1);
-  guint GSEAL (show_sort_indicator : 1);
-  guint GSEAL (maybe_reordered     : 1);
-  guint GSEAL (reorderable         : 1);
-  guint GSEAL (use_resized_width   : 1);
-  guint GSEAL (expand              : 1);
+  guint GSEAL (visible)             : 1;
+  guint GSEAL (resizable)           : 1;
+  guint GSEAL (clickable)           : 1;
+  guint GSEAL (dirty)               : 1;
+  guint GSEAL (show_sort_indicator) : 1;
+  guint GSEAL (maybe_reordered)     : 1;
+  guint GSEAL (reorderable)         : 1;
+  guint GSEAL (use_resized_width)   : 1;
+  guint GSEAL (expand)              : 1;
 };
 
 struct _GtkTreeViewColumnClass
index b99e40fa8b187970120b4ab8ce93be065ff2a7a8..40cb937cd504b8f0b544aac89d533642a4ada1ed 100644 (file)
@@ -70,40 +70,40 @@ struct _GtkWindow
   GtkWindowGroup *GSEAL (group);
 
   guint16 GSEAL (configure_request_count);
-  guint GSEAL (allow_shrink : 1);
-  guint GSEAL (allow_grow : 1);
-  guint GSEAL (configure_notify_received : 1);
+  guint GSEAL (allow_shrink) : 1;
+  guint GSEAL (allow_grow) : 1;
+  guint GSEAL (configure_notify_received) : 1;
   /* The following flags are initially TRUE (before a window is mapped).
    * They cause us to compute a configure request that involves
    * default-only parameters. Once mapped, we set them to FALSE.
    * Then we set them to TRUE again on unmap (for position)
    * and on unrealize (for size).
    */
-  guint GSEAL (need_default_position : 1);
-  guint GSEAL (need_default_size : 1);
-  guint GSEAL (position : 3);
-  guint GSEAL (type : 4); /* GtkWindowType */ 
-  guint GSEAL (has_user_ref_count : 1);
-  guint GSEAL (has_focus : 1);
-
-  guint GSEAL (modal : 1);
-  guint GSEAL (destroy_with_parent : 1);
+  guint GSEAL (need_default_position) : 1;
+  guint GSEAL (need_default_size) : 1;
+  guint GSEAL (position) : 3;
+  guint GSEAL (type) : 4; /* GtkWindowType */ 
+  guint GSEAL (has_user_ref_count) : 1;
+  guint GSEAL (has_focus) : 1;
+
+  guint GSEAL (modal) : 1;
+  guint GSEAL (destroy_with_parent) : 1;
   
-  guint GSEAL (has_frame : 1);
+  guint GSEAL (has_frame) : 1;
 
   /* gtk_window_iconify() called before realization */
-  guint GSEAL (iconify_initially : 1);
-  guint GSEAL (stick_initially : 1);
-  guint GSEAL (maximize_initially : 1);
-  guint GSEAL (decorated : 1);
+  guint GSEAL (iconify_initially) : 1;
+  guint GSEAL (stick_initially) : 1;
+  guint GSEAL (maximize_initially) : 1;
+  guint GSEAL (decorated) : 1;
   
-  guint GSEAL (type_hint : 3); /* GdkWindowTypeHint if the hint is one of the original eight. If not, then
+  guint GSEAL (type_hint) : 3; /* GdkWindowTypeHint if the hint is one of the original eight. If not, then
                                * it contains GDK_WINDOW_TYPE_HINT_NORMAL
                                */
-  guint GSEAL (gravity : 5); /* GdkGravity */
+  guint GSEAL (gravity) : 5; /* GdkGravity */
 
-  guint GSEAL (is_active : 1);
-  guint GSEAL (has_toplevel_focus : 1);
+  guint GSEAL (is_active) : 1;
+  guint GSEAL (has_toplevel_focus) : 1;
   
   guint GSEAL (frame_left);
   guint GSEAL (frame_top);